<!doctype html>
<html lang="en" xmlns:v-bind="http://www.w3.org/1999/xhtml" xmlns:v-on="http://www.w3.org/1999/xhtml" xmlns:v-model="http://www.w3.org/1999/xhtml">
<head>
    <meta charset="UTF-8">
    <title>Document</title>
</head>
<body>

<div id="app">
    <template v-if="true">
        <ul>
           <li v-for="todo of todos">{{todo.title}}</li>
        </ul>
    </template>

    <template v-if="false">
        <ul>
           <li v-for="todo of todos">{{todo.title}}</li>
        </ul>
    </template>
</div>
</body>
<script src="../../vender/vue@2.4.2.js"></script>
<script>

    new Vue({
        el:'#app',
        data:{
            show:true,
            todos:[
                {id:1,title:'Todo-1',isComplete:true},
                {id:2,title:'Todo-2',isComplete:false},
                {id:3,title:'Todo-3',isComplete:true}
            ],
            nextTodId:4
        }
    });

</script>
</html>